package com.ruoyi.business.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;

import com.ruoyi.business.domain.MobileHomepage;
import com.ruoyi.business.mapper.MobileHomepageMapper;
import com.ruoyi.business.service.IMobileHomepageService;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 首页设置Service业务层处理
 *
 * @author ruoyi
 * @date 2024-06-13
 */
@Service
public class MobileHomepageServiceImpl extends ServiceImpl<MobileHomepageMapper, MobileHomepage> implements IMobileHomepageService {

    @Autowired
    private MobileHomepageMapper mobileHomepageMapper;

    /**
     * @Author liumaotong
     * @Description 获取首页配置
     * @Date 2024/6/19
     * @Param []
     * @return com.ruoyi.business.domain.MobileHomepage
     */
    @Override
    public MobileHomepage getHomePage(MobileHomepage homepage) {
        return mobileHomepageMapper.selectById(homepage.getId());
    }


}